﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Liya.Crm.Data.Models;

namespace Liya.Crm.IService
{
    public interface IFunction
    {
        IList<Sys_Function> GetFunctionsByRoles(IList<int> roleIds);

        IEnumerable<Sys_Function> GetFunctionsByParent(int parentId);
    }
}
